﻿#ifndef INSTRUCTIONTURNTABLEEMERGENCYSTOP
#define INSTRUCTIONTURNTABLEEMERGENCYSTOP

#include "ScriptInstruction.h"

class InstructionTurnTableEmergencyStop :public ScriptInstruction
{
  Q_OBJECT
public:
  explicit InstructionTurnTableEmergencyStop();
  InstructionTurnTableEmergencyStop(InstructionTurnTableEmergencyStop const& instructionTurnTableEmergencyStop);
  InstructionTurnTableEmergencyStop& operator=(InstructionTurnTableEmergencyStop const & instructionTurnTableEmergencyStop);
  virtual ~InstructionTurnTableEmergencyStop();
public:
  virtual void run()override;
  virtual QString toString()override;
  virtual QByteArray toByteArray() override;
  static ScriptInstruction* fromByteArray1(char * const src,int size,int * offset);
};
#endif
